/*
 * *
 *  * Created with IntelliJ RustRover.
 *  * Description:
 *  * Copyright Author: ZhenYi
 *  * DateTime: 2024/2/14 下午5:10
 *
 */


use serde::{Deserialize, Serialize};

#[derive(Deserialize,Serialize,Clone,Debug)]
pub struct Email{
    pub name:String,
    pub addr:String,
    pub password:String,
    pub smtp:String
}
impl Default for Email{
    fn default() -> Self {
        Self{
            name: "".to_string(),
            addr: "".to_string(),
            password: "".to_string(),
            smtp: "".to_string(),
        }
    }
}